package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.Platform;
import cc.yugu.yhdw.common.persistence.MasterMapper;
import org.apache.ibatis.annotations.Param;
/**
 * 平台信息映射
 *
 * @Date:Created in 2018/6/28 17:14
 * @Author:
 * @Modified By: zjn 2018/6/28 17:14
 */
public interface PlatformMapper extends MasterMapper {
    /**
    * 查询表bas_platform 中的一条信息
    *
    * @Param: []
    * @Return: cc.yugu.yhdw.common.domain.basic.Platform
    * @Author By: zjn 2018/6/28  17:15
    */
    public Platform find();
    /**
    * 根据表中指定字段 更新余额
    *
    * @Param: [id, balance]
    * @Return: int
    * @Author By: zjn 2018/6/28  17:15
    */
    public int updateBalance(@Param("id") Integer id, @Param("balance") Integer balance);

}
